﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cooking
{
    public abstract class CookingBase
    {
        #region properties backing fields
        private System.Guid? _Id = Guid.NewGuid();
        #endregion
        private string _Name;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        public System.Guid? Id
        {
            get { return _Id; }
            set { _Id = value; }
        }

        public virtual Boolean IsValid()
        {
            return _Id.HasValue;
        }
    }
}
